package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备告警对象 device_alarms
 * 
 * @author ruoyi
 * @date 2024-08-24
 */
public class DeviceAlarms extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 电站编号，电站唯一标识 */
    @Excel(name = "电站编号，电站唯一标识")
    private String stationCode;

    /** 告警名称 */
    @Excel(name = "告警名称")
    private String alarmName;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String devName;

    /** 修复建议 */
    @Excel(name = "修复建议")
    private String repairSuggestion;

    /** 设备sn */
    @Excel(name = "设备sn")
    private String esnCode;

    /** 设备类型ID */
    @Excel(name = "设备类型ID")
    private Long devTypeId;

    /** 原因ID */
    @Excel(name = "原因ID")
    private Long causeId;

    /** 告警原因 */
    @Excel(name = "告警原因")
    private String alarmCause;

    /** 告警类型 */
    @Excel(name = "告警类型")
    private Long alarmType;

    /** 告警产生时间毫秒数 */
    @Excel(name = "告警产生时间毫秒数")
    private Long raiseTime;

    /** 告警ID */
    @Excel(name = "告警ID")
    private Long alarmId;

    /** 电站名称 */
    @Excel(name = "电站名称")
    private String stationName;

    /** 告警级别 */
    @Excel(name = "告警级别")
    private Long lev;

    /** 告警状态 */
    @Excel(name = "告警状态")
    private Integer status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStationCode(String stationCode) 
    {
        this.stationCode = stationCode;
    }

    public String getStationCode() 
    {
        return stationCode;
    }
    public void setAlarmName(String alarmName) 
    {
        this.alarmName = alarmName;
    }

    public String getAlarmName() 
    {
        return alarmName;
    }
    public void setDevName(String devName) 
    {
        this.devName = devName;
    }

    public String getDevName() 
    {
        return devName;
    }
    public void setRepairSuggestion(String repairSuggestion) 
    {
        this.repairSuggestion = repairSuggestion;
    }

    public String getRepairSuggestion() 
    {
        return repairSuggestion;
    }
    public void setEsnCode(String esnCode) 
    {
        this.esnCode = esnCode;
    }

    public String getEsnCode() 
    {
        return esnCode;
    }
    public void setDevTypeId(Long devTypeId) 
    {
        this.devTypeId = devTypeId;
    }

    public Long getDevTypeId() 
    {
        return devTypeId;
    }
    public void setCauseId(Long causeId) 
    {
        this.causeId = causeId;
    }

    public Long getCauseId() 
    {
        return causeId;
    }
    public void setAlarmCause(String alarmCause) 
    {
        this.alarmCause = alarmCause;
    }

    public String getAlarmCause() 
    {
        return alarmCause;
    }
    public void setAlarmType(Long alarmType) 
    {
        this.alarmType = alarmType;
    }

    public Long getAlarmType() 
    {
        return alarmType;
    }
    public void setRaiseTime(Long raiseTime) 
    {
        this.raiseTime = raiseTime;
    }

    public Long getRaiseTime() 
    {
        return raiseTime;
    }
    public void setAlarmId(Long alarmId) 
    {
        this.alarmId = alarmId;
    }

    public Long getAlarmId() 
    {
        return alarmId;
    }
    public void setStationName(String stationName) 
    {
        this.stationName = stationName;
    }

    public String getStationName() 
    {
        return stationName;
    }
    public void setLev(Long lev) 
    {
        this.lev = lev;
    }

    public Long getLev() 
    {
        return lev;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("stationCode", getStationCode())
            .append("alarmName", getAlarmName())
            .append("devName", getDevName())
            .append("repairSuggestion", getRepairSuggestion())
            .append("esnCode", getEsnCode())
            .append("devTypeId", getDevTypeId())
            .append("causeId", getCauseId())
            .append("alarmCause", getAlarmCause())
            .append("alarmType", getAlarmType())
            .append("raiseTime", getRaiseTime())
            .append("alarmId", getAlarmId())
            .append("stationName", getStationName())
            .append("lev", getLev())
            .append("status", getStatus())
            .toString();
    }
}
